from django.http import HttpResponse
from django.shortcuts import render, redirect

# Create your views here.
from django.urls import reverse


def login(request):
    #login
    return HttpResponse('app2 登录页面')


def usercenter(request):
    # user_center
    myurl = reverse('app2:login')  # login/
    # return redirect('/login/')
    return redirect(myurl)
    # return HttpResponse('user_center')
